<div id="enquete_cont">
<h3><?php echo $enquete->getDsPergunta(); ?></h3>
<br />
<?php foreach($enquete->EnqueteOpcao as $opcao): ?>
<?php $calculo = round(($opcao['nu_voto']/$total)*100); ?>
<?php echo $opcao['ds_opcao'] . ' - ' . $calculo . '%'; ?>
<div style="margin-bottom: 9px;" class="progress progress-info">
	<div style="width: <?php echo $calculo; ?>%" class="bar"></div>
</div>
<?php endforeach; ?>

<br>

<button type="button" class="buscarbotao curved5-topright curved5-bottomright back_enquete">voltar</button>

<?php include_partial('enquete/enquete.js'); ?>
</div>